﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Wp.BLL;
using Wp.DAL;

public partial class Admin_Modules_Posts_Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        LoadData();
    }
    void LoadData()
    {
        int TotalRow = 0;
        List<TblPostsEntity> ls = TblPostsManager.CreateInstant().SelectTblPostByPostType("post", 20, 1, out TotalRow);
        rpt.DataSource = ls;
        rpt.DataBind();
    }
}